package com.md.drcs.dicom.entity;

import com.md.common.utils.json.JSONUtil;
import org.apache.commons.lang3.StringUtils;
import org.apache.ibatis.type.JdbcType;
import tk.mybatis.mapper.annotation.ColumnType;

import javax.persistence.*;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 功能描述：t_report表实体
 * 
 * @author liuzg1@guahao.com
 * @version 1.0
 * @date 2018/12/11 18:04
 * @since JDK 1.8
 */
@Table(name = "t_report")
public class ReportEntity implements Serializable{
	
	//columns START
	/**
	 * nReportId
	 */
	@Id
	@GeneratedValue(generator = "JDBC", strategy = GenerationType.IDENTITY)
	@Column(name = "nReportId", insertable = false, updatable = false)
	private Long nReportId;
	/**
	 * nStuId
	 */
	@Column(name = "nStuId")
	private Long nStuId;
	/**
	 * nType
	 */
	@Column(name = "nType")
	private Integer nType;
	/**
	 * sRepter
	 */
	@Column(name = "sRepter")
	private String sRepter;
	/**
	 * repDate
	 */
	@Column(name = "repDate")
	private LocalDateTime repDate;
	/**
	 * sAudter
	 */
	@Column(name = "sAudter")
	private String sAudter;
	/**
	 * audDate
	 */
	@Column(name = "audDate")
	private LocalDateTime audDate;
	/**
	 * printDate
	 */
	@Column(name = "printDate")
	private LocalDateTime printDate;
	/**
	 * sRep
	 */
	@Column(name = "sRep")
	@ColumnType(jdbcType = JdbcType.LONGNVARCHAR)
	private String sRep;
	/**
	 * sCon
	 */
	@Column(name = "sCon")
	@ColumnType(jdbcType = JdbcType.LONGNVARCHAR)
	private String sCon;
	/**
	 * sAideRepter
	 */
	@Column(name = "sAideRepter")
	private String sAideRepter;
	/**
	 * sAideAud
	 */
	@Column(name = "sAideAud")
	private String sAideAud;
	/**
	 * sRep1
	 */
	@Column(name = "sRep1")
	@ColumnType(jdbcType = JdbcType.LONGNVARCHAR)
	private String sRep1;
	/**
	 * sCon1
	 */
	@Column(name = "sCon1")
	@ColumnType(jdbcType = JdbcType.LONGNVARCHAR)
	private String sCon1;
	/**
	 * nPosi
	 */
	@Column(name = "nPosi")
	private Integer nPosi;
	/**
	 * nPrint
	 */
	@Column(name = "nPrint")
	private Integer nPrint;
	/**
	 * sIconReportPath
	 */
	@Column(name = "sIconReportPath")
	private String sIconReportPath;
	/**
	 * sPacsReportPath
	 */
	@Column(name = "sPacsReportPath")
	private String sPacsReportPath;
	/**
	 * sReportPath
	 */
	@Column(name = "sReportPath")
	private String sReportPath;
	//columns END 数据库字段结束
	
	//get and set
	public void setNReportId(Long nReportId) {
		this.nReportId = nReportId;
	}
	
	public Long getNReportId() {
		return this.nReportId;
	}
	
	public void setNStuId(Long nStuId) {
		this.nStuId = nStuId;
	}
	
	public Long getNStuId() {
		return this.nStuId;
	}
	
	public void setNType(Integer nType) {
		this.nType = nType;
	}
	
	public Integer getNType() {
		return this.nType;
	}
	
	public void setSRepter(String sRepter) {
		this.sRepter = StringUtils.trim(sRepter);
	}
	
	public String getSRepter() {
		return this.sRepter;
	}
	
	public void setRepDate(LocalDateTime repDate) {
		this.repDate = repDate;
	}
	
	public LocalDateTime getRepDate() {
		return this.repDate;
	}
	
	public void setSAudter(String sAudter) {
		this.sAudter = StringUtils.trim(sAudter);
	}
	
	public String getSAudter() {
		return this.sAudter;
	}
	
	public void setAudDate(LocalDateTime audDate) {
		this.audDate = audDate;
	}
	
	public LocalDateTime getAudDate() {
		return this.audDate;
	}
	
	public void setPrintDate(LocalDateTime printDate) {
		this.printDate = printDate;
	}
	
	public LocalDateTime getPrintDate() {
		return this.printDate;
	}
	
	public void setSRep(String sRep) {
		this.sRep = StringUtils.trim(sRep);
	}
	
	public String getSRep() {
		return this.sRep;
	}
	
	public void setSCon(String sCon) {
		this.sCon = StringUtils.trim(sCon);
	}
	
	public String getSCon() {
		return this.sCon;
	}
	
	public void setSAideRepter(String sAideRepter) {
		this.sAideRepter = StringUtils.trim(sAideRepter);
	}
	
	public String getSAideRepter() {
		return this.sAideRepter;
	}
	
	public void setSAideAud(String sAideAud) {
		this.sAideAud = StringUtils.trim(sAideAud);
	}
	
	public String getSAideAud() {
		return this.sAideAud;
	}
	
	public void setSRep1(String sRep1) {
		this.sRep1 = StringUtils.trim(sRep1);
	}
	
	public String getSRep1() {
		return this.sRep1;
	}
	
	public void setSCon1(String sCon1) {
		this.sCon1 = StringUtils.trim(sCon1);
	}
	
	public String getSCon1() {
		return this.sCon1;
	}
	
	public void setNPosi(Integer nPosi) {
		this.nPosi = nPosi;
	}
	
	public Integer getNPosi() {
		return this.nPosi;
	}
	
	public void setNPrint(Integer nPrint) {
		this.nPrint = nPrint;
	}
	
	public Integer getNPrint() {
		return this.nPrint;
	}
	
	public void setSIconReportPath(String sIconReportPath) {
		this.sIconReportPath = StringUtils.trim(sIconReportPath);
	}
	
	public String getSIconReportPath() {
		return this.sIconReportPath;
	}
	
	public void setSPacsReportPath(String sPacsReportPath) {
		this.sPacsReportPath = StringUtils.trim(sPacsReportPath);
	}
	
	public String getSPacsReportPath() {
		return this.sPacsReportPath;
	}
	
	public void setSReportPath(String sReportPath) {
		this.sReportPath = StringUtils.trim(sReportPath);
	}
	
	public String getSReportPath() {
		return this.sReportPath;
	}
	
	
	public String toString() {
		return JSONUtil.toJSON(this);
	}
	
}

	
